set(TARGET_TEST_LINK_LIBS xlcomm_base xlcomm_net)

if(CMAKE_HOST_UNIX)
  set(TARGET_TEST_LINK_LIBS ${TARGET_TEST_LINK_LIBS} pthread)
else()
  # # 打开编译器异常处理功能。解决boost::throw_exception(class std::exception const &)链接失败问题
  # set(CMAKE_CXX_FLAGS "/EHsc ${CMAKE_CXX_FLAGS}")
endif()

add_subdirectory(simple)
add_subdirectory(timer)
add_subdirectory(protobuf)
add_subdirectory(myprotorpc)
add_subdirectory(myhttp)
add_subdirectory(myrpc)